package pers.qianyu.module.core.domain.logging.vo;

import java.io.*;

/**
 * @author mizzle rain
 * @date 2020-11-03 12:23
 */
public class UserAgentVO implements Serializable {
    private static final long serialVersionUID = -93046499764916883L;
    /** 是否为移动平台 */
    private boolean mobile;
    /** 浏览器类型 */
    private String browser;
    /** 平台类型 */
    private String platform;
    /** 系统类型 */
    private String os;
    /** 引擎类型 */
    private String engine;
    /** 浏览器版本 */
    private String version;
    /** 引擎版本 */
    private String engineVersion;

    public boolean isMobile() {
        return mobile;
    }

    public void setMobile(boolean mobile) {
        this.mobile = mobile;
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public String getEngine() {
        return engine;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getEngineVersion() {
        return engineVersion;
    }

    public void setEngineVersion(String engineVersion) {
        this.engineVersion = engineVersion;
    }

    @Override
    public String toString() {
        return "UserAgentVO{" +
                "mobile=" + mobile +
                ", browser='" + browser + '\'' +
                ", platform='" + platform + '\'' +
                ", os='" + os + '\'' +
                ", engine='" + engine + '\'' +
                ", version='" + version + '\'' +
                ", engineVersion='" + engineVersion + '\'' +
                '}';
    }
}
